package com.huike.clues.mapper;

import com.huike.clues.domain.TbAssignRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author STJ12138
 * @version 1.0
 * @description: TODO
 * @date 2023/7/12 16:16
 */
@Mapper
public interface TbAssignRecordMapper {

    void insert(TbAssignRecord tbAssignRecord);

    Integer getClueCountByUserId(Long userId);

    Integer getBusinessCountByUserId(Long userId);

    List<TbAssignRecord> selectAssignRecordList(TbAssignRecord tbAssignRecord);

    void updateAssignRecord(TbAssignRecord assignRecord);
    void deleteByBusinessId(Long assignId);
}
